﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using XXS.Common.BaseDomain;

namespace KTD.Web.Models.VD
{
    public class HouseMapVD
    {
        public HouseMapVD(int Id, string content,float Longitude,float Latitude) {

            id = Id;
            iconPath = "/static/img/biaodian.png";
            longitude = Longitude;
            latitude = Latitude;
            callout = new callout
            {
                content=content,
                borderRadius = 10,
                padding = 7,
                bgColor = "#D1372C",
                color = "#fff",
                display = "ALWAYS"
            };

        }

        public int id { get; set; }

        public float latitude { get; set; }
        public float longitude { get; set; }

        public string iconPath { get; set; }

        public callout callout { get; set; }

    }

    public class callout 
    {
        public string content { get; set; }

        public int borderRadius { get; set; }

        public int padding { get; set; }

        public string bgColor { get; set; }

        public string color { get; set; }

        public string display { get; set; }
    }
}